package cn.com.lms.business.exam.persistence.entity;

import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Getter
@Setter
@Table(name = "bnz_exam_exercise_detail")
@Schema(description = "员工练习详情表")
public class EmployeeExerciseDetail extends BaseEntity {

    @Schema(description = "练习ID")
    @Column(name = "exercise_id")
    private Long exerciseId;

    @Schema(description = "员工ID")
    @Column(name = "employee_id")
    private Long employeeId;

    @Schema(description = "已做题数量")
    @Column(name = "complete_count")
    private Long completeCount;

    @Schema(description = "答对题数量")
    @Column(name = "correct_count")
    private Long correctCount;

    @Schema(description = "最后练习时间")
    @Column(name = "last_exercise_time")
    private java.sql.Timestamp lastExerciseTime;


}
